let app = getApp();
import {util} from '../../utils/util';

Component({
    options: {
        addGlobalClass: true
    },

    data: {},

    pageLifetimes: {
        // 组件所在页面的生命周期函数
        show: function () {

        },
        hide: function () {
            console.log("111111111111111111111111111111");
        },
        resize: function () {
            console.log("22222222222222222222222222222222");
        },
    },

    methods: {
        set: function (e) {
            wx.navigateTo({
                url: '/pages/admin/setting/index'   //跳转至设置页面
            })
        },
        verify() {
            util.showError('暂未开放')
        },
        studentpost() {
            wx.navigateTo({
                url: '/pages/admin/studentpost/index'  //跳转到学生职务页面
            })
        }
    },
});
